﻿<ResourceDictionary
						xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

	<Style TargetType="HeaderedContentControl">
		<Setter Property="Padding" Value="4" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="HeaderedContentControl">
					<StackPanel>
						<Border CornerRadius="5,5,0,0" BorderThickness="1" BorderBrush="#FF141F58">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFADC1FF" Offset="0"/>
									<GradientStop Color="#FF93A8FF" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<ContentPresenter ContentSource="Header" Margin="12,2" />
						</Border>
						<Border BorderThickness="1,0,1,1" BorderBrush="#FF141F58">
							<Border.Background>
								<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
									<GradientStop Color="#FFB8C9FF" Offset="0"/>
									<GradientStop Color="#FFEAEFFF" Offset="1"/>
								</LinearGradientBrush>
							</Border.Background>
							<ContentPresenter Margin="{TemplateBinding Padding}" />
						</Border>
					</StackPanel>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="Margin" Value="3"/>
		<Style.Triggers>
			<Trigger Property="Content" Value="{x:Null}">
				<Setter Property="Visibility" Value="Collapsed" />
			</Trigger>
		</Style.Triggers>
	</Style>
	
</ResourceDictionary>
